<div class="page">
    <div class="hd">
        <h1 class="page_title">  我的余额    </h1>
    </div>

    <div class="bd">
        <div class="weui_cells weui_cells_access">
            <?php
            foreach($userfeedetail as $item){
            ?>
            <a class="weui_cell" onclick="memo( this )">
                <div class="weui_cell_bd weui_cell_primary">
                    <p>  <?php t_($item->memo);?>  【￥<?php t_($item->fee);?> 】</p>
                </div>
                <div class="weui_cell_ft">账单详情</div>
            </a>
            <?php
            }
            ?>

        </div>

    </div>
</div>

<div class="weui_dialog_alert" id="fee_detail" style="display: none">
    <div class="weui_mask"></div>
    <div class="weui_dialog">
        <div class="weui_dialog_hd"><strong class="weui_dialog_title"> 账单详情  </strong></div>
        <div class="weui_dialog_bd" id="memo_content">  </div>
        <div class="weui_dialog_ft">
            <a href="javascript:$('#fee_detail').hide();" class="weui_btn_dialog primary">确定</a>
        </div>
    </div>
</div>

<script>
    function memo(obj){
        var html = $(obj).find('.weui_cell_primary').html();
        $("#memo_content").html(html);
        $('#fee_detail').show();
    }
</script>